/*
 * @Author: Lin Hongwei
 * @Date: 2022-10-09 09:42:03
 * @LastEditTime: 2022-10-09 09:46:02
 * @LastEditors: Lin Hongwei
 * @email: 1365755396@qq.com
 * @CSDN: https://blog.csdn.net/weixin_45429409
 * @Description: 任务类型筛选
 */
import { ComponentProps } from "react";
import { useQueryTaskType } from "../api/task-type";
import { IdSelect } from "./id-select";
export const TaskTypeSelect = (props: ComponentProps<typeof IdSelect>) => {
  const { data } = useQueryTaskType();
  return <IdSelect {...props} options={data || []} />;
};
